//
//  NSString+WNPredicate.h
//  iOSOCProjectDirectory
//
//  Created by BHmac on 2017/6/9.
//  Copyright © 2017年 XieXuan. All rights reserved.
//  

#import <Foundation/Foundation.h>

@interface NSString (WNPredicate)

#pragma mark - 有效的电话号码
-(BOOL)isValidMobileNumber;

#pragma mark - 有效的银行卡号
-(BOOL)isValidBankCardNumber;

#pragma mark - 有效的邮箱
-(BOOL)isValidEmail;

#pragma mark - 检测有效身份证
//15位
- (BOOL) isValidIdentifyFifteen;

//18位
- (BOOL) isValidIdentifyEighteen;

#pragma mark - 有效的字母数字密码
- (BOOL) isValidAlphaNumberPassword;

@end
